home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Games / PC-SIG World of Games (CDRM1080710) (1993).iso / 1750 / LOTTO3.BAT < prev    next >
DOS Batch File  |  1989-01-26  |  966b  |  32 lines

  1. echo off
  2. rem                  LOTTO3  by Jim Mooney
  3. rem
  4. rem                  This is executed after LOTTO2 is executed.
  5. rem                  It reads the numbers written out by LOTTO2,
  6. rem                  sorts them to lotto.srt which LOTTO4 program
  7. rem                  reads in for its processing.
  8. rem                  LOTTO4 will still work if there are no records.
  9. rem
  10. CLS
  11. if NOT EXIST lotto.srt GOTO SKIP1
  12. del lotto.srt > NUL
  13. :SKIP1
  14. if NOT EXIST lotto.pic GOTO SKIP2
  15. echo 
  16. echo 
  17. echo 
  18. echo 
  19. echo 
  20. echo 
  21. echo                            ╔═════════════════════════╗
  22. echo                          ╔═╩═══════════════════════╗ ║
  23. echo                          ║                         ║ ║
  24. echo                          ║     SORTING NUMBERS     ║ ║
  25. echo                          ║                         ╠═╝
  26. echo                          ╚═════════════════════════╝
  27. sort < lotto.pic > lotto.srt
  28. lotto4 1
  29. :SKIP2
  30. lotto4
  31. echo off
  32.